import request from '@/utils/request'

// 查询AdeLabResult列表
export function listLabresult(query) {
  return request({
    url: '/ade/labresult/list',
    method: 'get',
    params: query
  })
}

// 查询AdeLabResult详细
export function getLabresult(id) {
  return request({
    url: '/ade/labresult/' + id,
    method: 'get'
  })
}

// 新增AdeLabResult
export function addLabresult(data) {
  return request({
    url: '/ade/labresult',
    method: 'post',
    data: data
  })
}

// 修改AdeLabResult
export function updateLabresult(data) {
  return request({
    url: '/ade/labresult',
    method: 'put',
    data: data
  })
}

// 删除AdeLabResult
export function delLabresult(id) {
  return request({
    url: '/ade/labresult/' + id,
    method: 'delete'
  })
}
